package lumingweihua.future.cn.lumingweihua.network;

import com.zhusx.core.interfaces.IHttpResult;

/**
 * Created by z1986 on 2018/3/18.
 */

public class JSONResult<T> implements IHttpResult<T> {
    public String errorMessage;
    T data;

    @Override
    public boolean isSuccess() {
        return true;
    }

    @Override
    public T getData() {
        return data;
    }

    @Override
    public String getMessage() {
        return errorMessage;
    }
}
